import Taro, { Component } from '@tarojs/taro'
import { connect } from '@tarojs/redux'
import { View} from '@tarojs/components'
import _isEmpty from 'lodash/isEmpty'
import moment from 'moment'
import GModal from '../../components/GModal'
import { getQueryString } from '../../utils' 
import { loginWechat, wechatLogin } from '../../actions/common'

import './index.scss'

@connect(({ common }) => ({
  tokenInfo: common.tokenInfo
}))
class Index extends Component {

  config = {
    navigationBarTitleText: ''
  }

  constructor(props){
    super(props)
  }
  
  componentDidMount(){
    Taro.redirectTo({ url: '/pages/main/index'})
  }

  render () {
  
    return (
      <View className='index-page'>
      </View>
    )
  }
}

export default Index
